.px2rem(@name, @px){
    @{name}: @px / 75 * 1rem;
}
body{
    background: #f4f4f4;
    .header{
        .px2rem(height, 90);
        width:100%;
        background: #000;
        color: #ffffff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        left:0;
        top:0;
        z-index: 99;
        .left,.right{
            .px2rem(width, 150);
            .px2rem(line-height, 90);
            .px2rem(font-size, 28);
            text-align: center;
        }
        .center{
            .px2rem(width, 220);
            .px2rem(line-height, 90);
            .px2rem(font-size, 34);
            text-align: center;
        }
    }
    .search{
        width:100%;
        background: #ffffff;
        .px2rem(margin-top, 90);
        .px2rem(padding-top, 20);
        .px2rem(padding-bottom, 20);
        .box{
            clear: both;
            width:90%;
            margin-left:5%;
            .px2rem(height, 70);
            border:1px solid #ccc;
            border-radius: 4px;
        }
        .input{
            width:65%;
            .px2rem(height, 70);
            float: left;
            input{
                width: 100%;
                .px2rem(height, 64);
                border:none;
                .px2rem(padding-left, 20);
                .px2rem(font-size, 30);
                outline: none;
            }
        }
        .button{
            width:20%;
            float: right;
            div{
                .px2rem(height, 70);
                background: #ccc;
            }
            .i{
                .px2rem(font-size, 60);
                text-align: center;
            }
        }
    }
    .main{
        .item{
            .px2rem(margin-top, 20);
            h3{
                text-align: center;
                .px2rem(line-height, 80);
                .px2rem(font-size, 32);
            }
            .dl{
                border-top: 1px solid #ccc;
                dl{
                    background: #fff;
                    width:33.333%;
                    float: left;
                    text-align: center;
                    border-bottom: 1px solid #ccc;
                    border-right: 1px solid #cccccc;
                    box-sizing: border-box;
                    .px2rem(height, 220);
                    dt{
                        .px2rem(width, 100);
                        .px2rem(height, 100);
                        .px2rem(padding-top, 50);
                        .px2rem(padding-bottom, 5);
                        margin:  auto;
                        img{
                            width: 100%;
                        }
                    }
                    dd{
                        .px2rem(padding-bottom, 30);
                        .px2rem(font-size, 26);
                    }
                }
            }
            .dl dl:nth-child(3){
                border-right:none;
            }
            .dl dl:nth-child(6){
                border-right:none;
            }
            .dl dl:nth-child(9){
                border-right:none;
            }
            .dl dl:nth-child(12){
                border-right:none;
            }
        }
    }
    .main .item:last-child{
        dl{
        .px2rem(margin-bottom, 110);

        }
    }
    .footer{
        width:100%;
        .px2rem(height, 90);
        background: #ffffff;
        display: flex;
        align-items: center;
        position: fixed;
        left:0;
        bottom: 0;
        z-index: 99;
        dl{
            width:25%;
            text-align: center;
            color: #999;
            dt{
                .px2rem(margin-bottom, 10);
                .px2rem(font-size, 40);
            }
        }
        .on{
            color: orangered;
        }
    }
}